package com.yllt4cloud.gateway.filter;

import lombok.Data;
import lombok.ToString;
import org.springframework.util.LinkedMultiValueMap;
import org.springframework.util.MultiValueMap;

/**
 * @description:
 * @author: yaoxj
 * @create: 2019-12-13 19:39
 **/
@Data
@ToString
public class GatewayContext {
    public static final String CACHE_GATEWAY_CONTEXT = "cacheGatewayContext";
    /**   * cache json body   */
    private String cacheBody;
    /**   * cache formdata   */
    private MultiValueMap<String, String> formData;
    /**   * cache reqeust path   */
    private String path;

    private MultiValueMap<String, String> allRequestData = new LinkedMultiValueMap<>(0);
}